package kassiopeia.commons.util;

import org.apache.log4j.Logger;

public final class ThreadUtils {

    private static final Logger logger = Logger.getLogger(ThreadUtils.class);

    private ThreadUtils() {}

    public static void sleepQuietly(long millis) {
        try {
            Thread.sleep(millis);
        }
        catch(InterruptedException exception) {
            logger.error("Exception while sleeping quietly", exception);
        }
    }

}
